import { openBuildService } from '../../helper/service'

// 值类型为String或Object,String为url(method),Object同axios(config)参数支持相同,data和params只能为对象类型
const settings = {
  // 查询施工升降机
  getConstructionLift: {
    url: 'proxy/mem/getConstructionLiftForm',
    method: 'get'
  },
  // 编辑施工升降机
  getEditConstructionLift: {
    url: 'proxy/mem/editConstructionLift',
    method: 'post'
  },
  // 删除
  getDeleConstructionLift: {
    url: 'proxy/mem/deleteConstructionLift',
    method: 'delete'
  },
  //升降机设备工作数据
  eleWorkData: {
    url: 'proxy/data/ele_work_data',
    method: 'get'
  },
  //升降机设备状态数据
  eleStateData: {
    url: 'proxy/data/ele_state_data',
    method: 'get'
  },
}

export default openBuildService(settings)
